SuppliedTextWidget

constructor(messageSupplier: Supplier<Text>, textRenderer: TextRenderer)


constructor(messageSupplier: Supplier<Text>, textRenderer: TextRenderer, width: Int, height: Int)

Parameters

messageSupplier

Supplier<Text> - supplies text to this widget

textRenderer

TextRenderer - textRenderer instance

width

Int - width of the widget in pixels

height

Int - height of the widget in pixels